import request from '@/utils/request'
//获取楼宇/病区/房间
export function getBuild(params) {
    return request({
        url: `/sysbuild/getBuild`,
        method: 'GET',
        params
    })
}

//添加楼宇/病区/房间
export function addsysbuild(params) {
    return request({
        url: '/sysbuild/create',
        method: 'POST',
        params
    })
}
//编辑楼宇/病区/房间
export function upsysbuild(params) {
    return request({
        url: '/sysbuild/update',
        method: 'POST',
        params
    })
}
//删除楼宇/病区/房间
export function deletesysbuild(params) {
    return request({
        url: '/sysbuild/delete',
        method: 'POST',
        params
    })
}

//获取床位
export function getBed(params) {
    return request({
        url: '/sysbuild/getBed',
        method: 'GET',
        params
    })
}
//添加床
export function createBed(params) {
    return request({
        url: '/sysbuild/createBed',
        method: 'POST',
        params
    })
}
//编辑床位
export function updateBed(params) {
    return request({
        url: '/sysbuild/updateBed',
        method: 'POST',
        params
    })
}
//删除床位
export function deleteBed(params) {
    return request({
        url: '/sysbuild/deleteBed',
        method: 'POST',
        params
    })
}
//房间等级
export function getRoomLevel(params) {
    return request({
        url: '/sysbuild/getRoomLevel',
        method: 'GET',
        params
    })
}


export function outStatisticDetail(params) {
    return request({
        url: '/clinic_drug_house/outStatisticDetail',
        method: 'GET',
        params
    })
}